package com.coocaa.ops.api.v1.params.handler;

import com.coocaa.ops.api.v1.params.model.OpsParamModel;

/**
 * @author zen
 * @date 2020-11-05 15:07
 * @description
 */
public class ParamsHandler {

    public static boolean isDmpParams(OpsParamModel opsParamModel) {
        return null != opsParamModel &&
                null != opsParamModel.getDmpInfo() &&
                null != opsParamModel.getDmpInfo().getPolicyId() &&
                null != opsParamModel.getDmpInfo().getCrowdId();
    }
}
